package com.xr.service;

import com.xr.exception.CustomException;
import com.xr.pojo.Order;
import com.xr.result.Result;

import java.util.Map;

public interface OrderService {

    /**
     * 通过订单id查询预约信息
     * @param id
     * @return
     */
    Map<String,Object> queryAll(Integer id);

    //根据id查询
    Order findById(Integer id);


    Result addOrder(Map<String, String> map) throws CustomException;
}
